package com.atguigu.dao;

import com.atguigu.pojo.Order;

import java.util.List;

public interface OrderDao {

    /**
     * 保存订单
     * @return
     */
    public int saveOrder(Order order);

    public List<Order> queryOrders();

    public int changeOrderStatus(String orderId,Integer status);

    public Order queryOrdersByUserId(Integer userId);
}
